{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "# cross_entry_loss = -[y_truelog(y_pred) + (1-y_ture)*log(1-y_pred)]\n",
    "\n",
    "import numpy as np\n",
    "\n",
    "def cross_entropy_loss(y_true,y_pred):\n",
    "    loss = -np.mean(y_true*np.log(y_pred)+(1-y_true)*(np.log(1-y_pred)))\n",
    "    return loss"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "base:北京\n",
    "入职时间:自由\n",
    "时间时长:3个月以上\n",
    "全职\n",
    "\n",
    "工作:rag,问答,增量微调\n",
    "二面"
   ]
  }
 ],
 "metadata": {
  "language_info": {
   "name": "python"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
